<template>
  <router-view v-if="$route.path === '/login'|| $route.path === '/register'" />
  <MainLayout v-else />
</template>

<script setup>
import { useRoute } from 'vue-router'
import MainLayout from './layouts/MainLayout.vue'
const $route = useRoute()
</script>
